﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace Beeldbankmvc.Models
{
    public class StarRatingModel
    {
        public int votes { get; set; }
        public int sum { get; set; }
        public string avg { get; set; }
        public int mediaObjectId { get; set; }
    }

    public class StarAverageModel
    {
        public int MediaObjectId { get; set; }
        public double AverageValue { get; set; }
    }
}